<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>test</title>
    <script type="text/javascript">
        function hi() {
            document.write("<h1>Hello,World</h1>");
        }
        hi();
    </script>
</head>

</html>